package com.jichangxiu.system.entity.bo;

import com.jichangxiu.system.entity.po.SysPower;
import com.jichangxiu.system.entity.vo.SysPowerVo;
import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMappers;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * SysPowerBo:
 *
 * @author JiChangXiu
 * @create 2024-06-28 13:44:36
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@AutoMappers({
        @AutoMapper(target = SysPower.class, reverseConvertGenerate = false),
        @AutoMapper(target = SysPowerVo.class, reverseConvertGenerate = false)
})
public class SysPowerBo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private String id;

    /**
     * 权限标识
     */
    private String code;

    /**
     * 请求地址
     */
    private String action;

    /**
     * 菜单ID
     */
    private String menuId;

    /**
     * 排序
     */
    private BigDecimal sort;

}